﻿using System;
using System.Collections.Generic;
using System.Text;

namespace AKMII.DMRA.Common
{
    [Serializable]
    public class LeadBlock : SimpleLeadBlock
    {
        public string Division { get; set; }

        public string Market { get; set; }

        public string Zip4Name { get; set; }

        //public string County { get; set; }

        public string State { get; set; }

        public string Agent
        {
            get
            {
                if (!string.IsNullOrEmpty(UserAssigned) && UserAssigned.Length > 2)
                {
                    return UserAssigned.Substring(UserAssigned.IndexOf(' ')).Trim();
                }
                else
                {
                    return string.Empty;
                }
            }
        }

        public string Week
        {
            get
            {
                if (!string.IsNullOrEmpty(UserAssigned) && UserAssigned.Length > 2)
                {
                    return UserAssigned.Split(' ')[0].Trim();
                }
                else
                {
                    return string.Empty;
                }
            }
        }

        public bool IsOrderInJan { get; set; }

        public bool IsOrderInFeb { get; set; }

        public bool IsOrderInMar { get; set; }

        public bool IsOrderInApr { get; set; }

        public bool IsOrderInMay { get; set; }

        public bool IsOrderInJun { get; set; }

        public bool IsOrderInJul { get; set; }

        public bool IsOrderInAug { get; set; }

        public bool IsOrderInSep { get; set; }

        public bool IsOrderInOct { get; set; }

        public bool IsOrderInNov { get; set; }

        public bool IsOrderInDec { get; set; }

        #region New added field for seperate business lead

        public OrderType Type { get; set; }

        public bool IsOrderInOneALN { get; set; }

        public bool IsOrderInTwoALN { get; set; }

        public bool IsOrderInThreeALN { get; set; }

        public bool IsOrderInFourALN { get; set; }

        public bool IsOrderInFiveALN { get; set; }

        public bool IsOrderInSixALN { get; set; }

        public bool IsOrderInSevenALN { get; set; }

        public bool IsOrderInEightALN { get; set; }

        public bool IsOrderInNineALN { get; set; }

        public bool IsOrderInTenALN { get; set; }

        public bool IsOrderInElevenALN { get; set; }

        public bool IsOrderInTwelveALN { get; set; }

        public bool IsOrderInOneBus { get; set; }

        public bool IsOrderInTwoBus { get; set; }

        public bool IsOrderInThreeBus { get; set; }

        public bool IsOrderInFourBus { get; set; }

        public bool IsOrderInFiveBus { get; set; }

        public bool IsOrderInSixBus { get; set; }

        public bool IsOrderInSevenBus { get; set; }

        public bool IsOrderInEightBus { get; set; }

        public bool IsOrderInNineBus { get; set; }

        public bool IsOrderInTenBus { get; set; }

        public bool IsOrderInElevenBus { get; set; }

        public bool IsOrderInTwelveBus { get; set; }

        #endregion
    }
}
